package com.qf.controller;

import com.qf.annotation.RequiresPermissionsDesc;
import com.qf.util.ResponseUtil;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin/user")
public class UserController {
    //会员分页查询
    @RequiresPermissions("admin:user:list")
    @RequiresPermissionsDesc(menu = {"用户管理","会员管理"},button = "查询")//菜单  按钮   方便维护
    @GetMapping("/list")
    public Object userList(
            Integer page,
            Integer limit,
            String username,
            String mobile,
            String sort,
            String order
    ){
        //条件查询 + 分页查询

        return ResponseUtil.ok();
    }
}
